package com.comac.print.component.app.common.exception;

import lombok.Data;

/**
 * @Description 用户异常
 * @Author chenx
 * @Date 2021/11/14 14:28
 */
@Data
public class UserException extends RuntimeException{

    private String message;

    public UserException(String message) {
        super(message, null);
        this.message = message;
    }

    public UserException(String message, Throwable cause) {
        super(message, cause);
        this.message = message;
    }
}
